<template>
    <div class="changePwd">
        <div class="liuhai"></div>
        <div class="settings-header">
            <div>
                <i class="settings-icon"  @click="goTo('/settings')">&#xe600;</i>
            </div>
            <div>修改密码</div>
            <div></div>
        </div>
        <div class="changePwdInput">
            <form action="">
                <div class="oldPwd">
                    <label for="oldPwd">旧密码：</label>
                    <input type="text" id="oldPwd" placeholder="若包含字母，请注意区分大小写">
                </div>
                <div class="newPwd">
                    <label for="newPwd">新密码：</label>
                    <input type="text" id="newPwd" placeholder="8-16位，至少包含数字/字母/字符2种组合">
                </div>
                <input type="submit" value="确认修改">
            </form>
        </div>
    </div>
</template>

<script>
    export default {
        name: "index",
        methods: {
            goTo(path) {
                this.$router.replace(path)
            },
        }
    }
</script>

<style>
    /********************************************字体图标************************************/
    .settings-icon{
        font-family: iconfont;
        font-size: 36px;
        font-style: normal;
    }
    .liuhai {
        height: 50px;
        width: 100%;
        background-color: white;
    }

    .settings-header {
        width: 100%;
        height: 96px;
        display: flex;
        flex-direction: row;
        background-color: white;
    }

    .settings-header > div {
        width: 20%;
        height: 80px;
    }
    .settings-header > div:nth-child(2){
        width: 60%;
        font-size: 36px;
        color: #44444a;
        text-align: center;
        line-height: 80px;
    }
    .settings-header > div:nth-child(1){
        display: flex;
        align-items: center;
    }
    .settings-header > div:nth-child(1) > i{
        margin-left: 16px;
    }
    .changePwdInput{
        width: 652px;
        margin: 30px auto;
    }
    .changePwdInput div>label{
        display: block;
        font-size: 26px;
    }
    .changePwdInput div>input{
        width: 100%;
        height: 88px;
        border-radius: 20px;
        border: none;
        text-indent: 20px;
        margin: 20px 0;
        font-size: 24px;
    }
    .changePwdInput>form>input{
        display: block;
        width: 580px;
        height: 72px;
        background: #e8a41c;
        color: white;
        margin: 25px auto;
        border: none;
        border-radius: 50px;
        font-size: 30px;
    }
</style>
